players = ['zs','ls','ww','zl','tq','wb']
players1 = players
players2 = players[:]
players3 = players[1:3]
players2.append('pj')
print(players)
players1.append('pj')
print(players)
print(players3)
players3[0] = "hehe"
print(players)
print(players3)

print("\n##########################prac-4.4#########################") 
players = ['zs','ls','ww','zl','tq','wb']
print('the first three items in the list are:' + str(players[:3]))
print('the three items form the middle of the list are:' + str(players[2:5]))
print('the last three items in the list are:' + str(players[-3:]))

my_pizzas = ['aa','bb','cc','dd','ee','ff']
friend_pizzas = my_pizzas[:]
my_pizzas.append('gg')
friend_pizzas.append('hh')

print('my favorate pizzas is:' + str(my_pizzas))
print('my friend`s favorite pizzas is:' + str(friend_pizzas))
